package com.bit.forumdemo.serviceimpl.block_serviceimpl;

import com.bit.forumdemo.pojo.block_pojo.Block;
import com.bit.forumdemo.service.block_service.BlockService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 版块业务实现
 */
@Service
public class BlockServiceImpl implements BlockService {

    /**
     * 添加版块
     * @param record
     * @return
     */
    @Override
    public int insert(Block record) {
        return 0;
    }

    /**
     * 主键查询版块详情
     * @param blockId
     * @return
     */
    @Override
    public Block selectByPrimaryKey(Integer blockId) {
        return null;
    }


    /**
     * 查询所有版块
     * @return
     */
    @Override
    public List<Block> selectAll() {
        return null;
    }


    /**
     * 通过主键编辑版块信息
     * @param record
     * @return
     */
    @Override
    public int updateByPrimaryKey(Block record) {
        return 0;
    }
}
